import com.shellinghome.users.Person;
import com.shellinghome.testtools.Testtools;
import com.shellinghome.testtools.Computer;
import com.shellinghome.testtools.Pen;
import com.shellinghome.vehicle.Bike;
import com.shellinghome.vehicle.Car;
import com.shellinghome.vehicle.Vehicle;
import com.shellinghome.edu.School;
import com.shellinghome.test.Test;



public class Demo {
	public static void main(String[ ] args) {
		Person person = new Person();
		person.setName("小明");
		person.setAdds("南京市浦口区天润城十四街区");
		person.setSex("男");
		person.setAge(19);
		
		School school = new School();
		school.setName("外国语学校");
		school.setAdds("星火路9号");


		Vehicle vehicle = new Bike() ;
		vehicle.setName("OFO");
		vehicle.setColor("蓝色");

		Vehicle vehicle2 = new Car ( );
		vehicle2.setName("特斯拉");
		vehicle2.setColor("红色");

		Computer computer = new Computer( ) ;
		computer.setColor("黑色" );
		computer.setType( "ThinskPad E440");

		Pen pen = new Pen ( );
		pen.setType("LAMY钢笔");
		pen.setColor("蓝色");

		Test test = new Test( );
		test.setChoose(10) ;
		test.setJudge (2) ;
		test.setDrew (5);

		person.goToSchool (vehicle,school);
		person.goToSchool (vehicle2,school);
		person.doTest(computer,test);
		person.doTest(pen,test);



		
	}
}